.testBox {
  width: 900px;
  background-color: #ffffff;
  box-shadow: 0px 0px 8px 0px rgba(231, 231, 231, 0.55);
  border-radius: 5px;
  padding: 22px 24px 42px;
  // float: left;
  box-sizing: border-box;
  .casebox {
    padding-bottom: 10px;
    // border: 1px solid #eee;
  }
  .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid #eee;
    h5 {
      font-size: 14px;
      color: $color-black;
      font-weight: 550;
    }
    .operations {
      display: flex;
      align-items: center;
      & > div {
        display: flex;
        align-items: center;
        margin-right: 20px;
        cursor: pointer;
        &:last-child {
          margin-right: 0;
        }
        img {
          margin-right: 5px;
          &:first-child {
            margin-top: 2px;
          }
        }
        span {
          font-size: 14px;
          color: #666;
        }
      }
    }
  }
  .testTit {
    font-size: 14px;
    color: $color-black;
    line-height: 26px;
    margin: 28px 0 21px;
  }
  .options {
    .optionBox {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      padding-left: 5px;
      cursor: pointer;
      &.choosed {
        background-color: #fafafa;
        .option {
          background: #0193ff;
          color: $color-white;
        }
      }
      // TODO:
      &.current {
        background-color: #fafafa;
        .option {
          background: #ff8787;
          color: $color-white;
        }
      }
      &.active {
        background-color: #fafafa;
        .option {
          background: #47c88a;
          color: $color-white;
        }
      }
      .option {
        width: 26px;
        height: 26px;
        background-color: #ededed;
        border-radius: 50%;
        font-size: 14px;
        color: $color-black;
        text-align: center;
        line-height: 26px;
        margin-right: 16px;
      }
      .optionText {
        max-width: 550px;
        font-size: 14px;
        color: $color-black;
      }
    }

    .topic_t {
      .option {
        background-color: #fcde84;
        color: #fff;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        font-size: 14px;
        color: $color-white;
        text-align: center;
        line-height: 26px;
        margin-right: 16px;
      }
    }

    .activeCss {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      padding-left: 5px;
      cursor: pointer;
      &.choosed {
        background-color: #fafafa;
        .option {
          background: #0193ff;
          color: $color-white;
        }
      }
      .option {
        width: 26px;
        height: 26px;
        background-color: #0193ff;
        border-radius: 50%;
        font-size: 14px;
        color: $color-white;
        text-align: center;
        line-height: 26px;
        margin-right: 16px;
      }
      .optionText {
        font-size: 14px;
        color: $color-black;
      }
    }
  }
  .tbtn {
    text-align: left;
    padding: 0 10px;
    div {
      float: left;
      width: 50px;
      font-size: 14px;
      color: #666;
      height: 26px;
      line-height: 26px;
      text-align: center;
      border: 1px solid #00af63;
      border-radius: 5px;
    }
    div.active {
      color: #fff;
      background-color: #00af63;
    }
  }
  .openAnalysis {
    display: flex;
    justify-content: flex-end;
    margin-top: 47px;
    /* .el-button {
      width: 112px;
      height: 30px;
      border-radius: 14px;
      border: solid 1px #0193ff;
      font-size: 14px;
      color: #0193ff;
      text-align: center;
      background-color: transparent;
      line-height: 0px;
    }
    .el-button:hover {
      color: #66b1ff;
      border-color: #66b1ff;
      background-color: #ecf5ff;
    } */

    .btn {
      width: 112px;
      height: 28px;
      border-radius: 14px;
      border: solid 1px #0193ff;
      font-size: 14px;
      color: #0193ff;
      text-align: center;
      line-height: 26px;
      cursor: pointer;
      margin-left: 10px;
    }
  }
  .analysisBox {
    width: 854px;
    background-color: #f4f9f7;
    border-radius: 5px;
    margin-top: 37px;
    padding: 26px 43px 39px 24px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    & > div {
      display: flex;
      margin-bottom: 20px;
      ::v-deep .el-textarea__inner {
        min-height: 75px !important;
        font-family: 'Microsoft Yahei';
      }
      ::v-deep .el-progress-bar__outer {
        height: 8px !important;
      }
      &.center {
        align-items: center;
      }
      span.tit {
        display: inline-block;
        width: 72px;
        // font-size: 14px;
        // color: $color-green;
        color: #333;
        font-weight: 550;
      }
      span.testCenter {
        display: inline-block;
        width: 72px;
        height: 24px;
        border-radius: 5px;
        border: solid 1px #999999;
        font-size: 14px;
        // color: $color-black;
        text-align: center;
        line-height: 24px;
        margin-right: 25px;
      }
      span {
        color: $color-green;
      }
      &.btmLine {
        padding-bottom: 22px;
        border-bottom: 1px solid #eee;
      }
      .rightCon {
        .noteBox {
          & > div {
            display: flex;
          }
          .btns {
            justify-content: flex-end;
            button {
              width: 123px;
              height: 32px;
              background: #00af63;
              font-size: 14px;
              color: $color-white;
              border: none;
              border-radius: 5px;
              cursor: pointer;
              &:last-child {
                background: $color-white;
                color: $color-green2;
                border: 1px solid $color-green2;
                margin-left: 32px;
              }
            }
          }
        }
        span {
          font-weight: normal;
          color: $color-black;
        }
        .nav {
          margin-bottom: 20px;
          p {
            font-size: 14px;
            color: #000;
            letter-spacing: 1px;
            text-indent: 24px;
            margin-right: 20px;
            cursor: pointer;
            display: inline-block;
            user-select: none;
            position: relative;
            &.act {
              font-weight: 550;
            }
            &::after {
              content: '';
              width: 17px;
              height: 18px;
              background: url('@/assets/images/note0.png') no-repeat center;
              background-size: cover;
              position: absolute;
              top: 0;
              left: 0;
            }
            &:last-child {
              &::after {
                width: 16px;
                height: 16px;
                background: url('@/assets/images/icon_ask.png') no-repeat center;
                background-size: cover;
              }
            }
          }
        }
        .updImg {
          display: flex;
          margin-top: 20px;
          .updBox {
            ::v-deep .el-upload--picture-card {
              width: 118px;
              height: 80px;
              line-height: 80px;
            }
            ::v-deep .el-upload-list--picture-card .el-upload-list__item {
              width: 118px;
              height: 80px;
              border-width: 0;
            }
          }
        }
        ul {
          li {
            display: inline-block;
            padding: 6px 20px;
            border: 1px solid #999;
            border-radius: 5px;
            font-size: 14px;
            color: $color-black;
            margin-right: 18px;
            cursor: pointer;
            &.act {
              background: $color-green2;
              color: $color-white;
              border-color: $color-green2;
            }
          }
        }
      }
      &.listBox {
        display: block;
        margin-top: 22px;
        .topTab {
          margin-bottom: 24px;
          p {
            display: inline-block;
            font-size: 14px;
            color: $color-black;
            font-weight: 550;
            margin-right: 25px;
            &.act {
              color: #0193ff;
            }
          }
        }
        .list {
          .item {
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
            margin-bottom: 14px;
            .queName {
              font-size: 14px;
              color: $color-black;
              margin-bottom: 19px;
              span {
                font-weight: 550;
              }
            }
            .ans {
              display: flex;
              background-color: #ffffff;
              border-radius: 5px;
              padding: 15px;
              position: relative;
              .avatar {
                width: 40px;
                height: 40px;
                background: #000;
                border-radius: 5px;
                margin-right: 16px;
              }
              .ansInfo {
                p {
                  font-size: 14px;
                  color: #666;
                  font-weight: 550;
                  span {
                    color: #999;
                  }
                }
                .testCen {
                  span {
                    font-size: 14px;
                    color: $color-green;
                    font-weight: 550;
                    &:last-child {
                      display: inline-block;
                      font-size: 14px;
                      color: $color-black;
                      padding: 5px 7px;
                      border: 1px solid #999;
                      border-radius: 5px;
                    }
                  }
                }
              }
              .dianzan {
                position: absolute;
                top: auto;
                left: auto;
                right: 34px;
                bottom: 17px;
                cursor: pointer;
              }
            }
          }
        }
      }
    }
    .yourAns {
      font-weight: 550;
      text-indent: 5px;
      span {
        &:first-child {
          color: $color-green2 !important;
        }
      }
    }
  }
}

.right {
  width: 280px;
  // float: right;
  .center {
    margin-top: 14px;
    button {
      width: 100%;
      height: 42px;
      border-radius: 5px;
      border: solid 1px #0193ff;
      font-size: 16px;
      color: #0193ff;
      background-color: #fff;
      letter-spacing: 2px;
      box-sizing: border-box;
      cursor: pointer;
      &:last-child {
        background-color: #0193ff;
        color: $color-white;
      }
    }
  }
  .top {
    height: 120px;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgba(231, 231, 231, 0.55);
    border-radius: 5px;
    padding: 25px;
    box-sizing: border-box;
    margin-bottom: 18px;
    .timePause {
      display: flex;
      align-items: center;
      justify-content: space-between;
      .time {
        font-size: $size-common;
        color: $color-black;
        text-indent: 28px;
        position: relative;
        &::after {
          content: '';
          width: 20px;
          height: 19px;
          background: url('@/assets/images/clock201.png') no-repeat center;
          background-size: cover;
          position: absolute;
          top: 2px;
          left: 0;
        }
        span {
          font-size: 16px;
          color: #0193ff;
        }
      }
      button {
        width: 70px;
        height: 28px;
        background-color: #0193ff;
        font-size: 16px;
        color: $color-white;
        border: none;
        outline: none;
        cursor: pointer;
      }
    }

    .progressBox {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 20px;
      span {
        font-size: $size-common;
        color: $color-black;
        &:last-child {
          color: #666;
        }
      }
    }
  }

  .tiList {
    height: 300px;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgba(231, 231, 231, 0.55);
    border-radius: 5px;
    padding: 20px;
    .tit {
      font-size: $size-common;
      color: #272c31;
      font-weight: 550;
      padding-bottom: 16px;
      border-bottom: 1px solid #eee;
    }
    .listBox {
      margin-top: 19px;
      .testSitu {
        display: flex;
        span {
          font-size: 14px;
          color: #595959;
          letter-spacing: 1px;
          margin-right: 10px;
        }
        p {
          font-size: 12px;
          color: #595959;
          letter-spacing: 1px;
          text-indent: 22px;
          margin-right: 19px;
          position: relative;
          &::after {
            content: '';
            width: 16px;
            height: 16px;
            // background-color: #fcde84;
            background-color: #0193ff;
            border-radius: 3px;
            box-sizing: border-box;
            position: absolute;
            top: 0;
            left: 0;
          }
          &:last-child {
            &::after {
              background: #fff;
              border: 1px solid #ccc;
            }
          }
          &.current {
            &::after {
              background: #00af63;
              border: 1px solid #00af63;
            }
          }
          &.error {
            &::after {
              background: #ff8a8d;
              border: 1px solid #ff8a8d;
            }
          }
          &.nodo {
            &::after {
              background: #fff;
              border: 1px solid #ccc;
            }
          }
        }
      }
      .navs {
        display: flex;
        margin: 23px 0;
        p {
          font-size: $size-common;
          color: $color-black;
          margin-right: 5px;
          &:last-child {
            margin-right: 0;
          }
          &.act {
            color: $color-green;
          }
        }
      }
      .list {
        max-height: 195px;
        overflow-y: auto;
        // padding-right: 10px;
        // 滚动条样式
        &::-webkit-scrollbar {
          width: 8px;
        }
        // 滚动槽
        &::-webkit-scrollbar-track {
          border-radius: 4px;
          background: #f2f2f2;
          margin-top: 8px;
        }
        // 滚动滑块
        &::-webkit-scrollbar-thumb {
          border-radius: 8px;
          background: #b4bbc5;
        }
        span {
          display: inline-block;
          width: 24px;
          height: 24px;
          // background-color: #fcde84;
          background-color: #0193ff;
          border-radius: 3px;
          margin: 0 15px 14px 0;
          font-size: 12px;
          color: $color-white;
          text-align: center;
          line-height: 24px;
          box-sizing: border-box;
          cursor: pointer;
          &:last-child {
            margin-right: 0;
          }
          &:nth-child(6n + 6) {
            margin-right: 0;
          }
          &.nodo {
            background: $color-white;
            border: solid 1px #cccccc;
            color: #595959;
            line-height: 22px;
          }

          &.current {
            background: #00af63;
            border: 1px solid #00af63;
          }
          &.error {
            background: #ff8a8d;
            border: 1px solid #ff8a8d;
          }
          &.nodo {
            background: #fff;
            border: 1px solid #ccc;
          }
        }
      }
    }
  }
}

/* 交卷弹层 */
.mask_unfinished {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  .kuang {
    position: absolute;
    width: 520px;
    height: 350px;
    left: 50%;
    margin-left: -260px;
    top: 50%;
    margin-top: -175px;
    background: #fff;
    border-radius: 5px;
    img {
      display: block;
      margin: 25px 0;
    }
    p {
      font-size: 18px;
      color: #333333;
      text-align: center;
      line-height: 60px;
    }
    .error_btn {
      padding: 0 128px;
      box-sizing: border-box;
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      a {
        width: 120px;
        height: 36px;
        line-height: 36px;
        display: inline-block;
        text-align: center;
        border-radius: 5px;
        margin-top: 15px;
      }
      a.a_submit {
        background: #0193ff;
        color: #fff;
      }
      a.a_cancel {
        background: #f5f5f5;
        color: #333;
        &:hover {
          color: #333;
        }
      }
    }
  }
}

::v-deep .el-breadcrumb__inner.is-link:hover {
  color: #303133;
}
